package factory.base;

/**
 * 原料基类   所有原料均可从此类派生
 * @author yaojianfeng
 */
public abstract class BaseIngredient {
    public String desc;

    public BaseIngredient(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "BaseIngredient{" +
                "desc='" + desc + '\'' +
                '}';
    }
}
